package com.cls.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cls.common.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * 系统消息表 Entity
 *
 * @author wandering
 * @date 2020-11-27 10:39:09
 */
@Data
@TableName("biz_message")
public class Message extends BaseEntity implements Serializable {



    /**
     * 
     */
    @TableId(value = "msg_id", type = IdType.AUTO)
    private Long msgId;



    /**
     * 消息内容
     */
    @TableField("content")
    private String content;


    /**
     * 通知用户
     */
    @TableField("publish_user_id")
    private Long publishUserId;



    /**
     * 发送对象名称
     */
    @TableField("publish_object_name")
    private String publishObjectName;


    /**
     * 发送对象单位名称
     */
    @TableField("publish_object_unit_name")
    private String publishObjectUnitName;


    /**
     * 是否已读
     */
    @TableField("is_read")
    private Boolean isRead;


    /**
     * 已读时间
     */
    @TableField("read_time")
    private Date readTime;


    /**
     * 发送时间
     */
    @TableField("send_time")
    private Date sendTime;

    /**
     * 接收对象id
     */
    @TableField("receive_user_id")
    private Long receiveUserId;
    /**
     * 接收对象名称
     */
    @TableField("receive_object_name")
    private String receiveObjectName;



    /**
     * 接收对象单位名称
     */
    @TableField("receive_object_unit_name")
    private String receiveObjectUnitName;



    /**
     * 接收信息对象类型
     */
    @TableField("receive_object_type")
    private String receiveObjectType;


    /**
     * 定时任务id
     */
    @TableField("time_task_id")
    private String timeTaskId;





}
